#ifndef _RUNTIME__HPP
#define _RUNTIME__HPP

#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <vector>
#include <iostream>
#include <algorithm>
#include <fstream>
using namespace std;

struct call_info
{
	unsigned int num_appel;
	bool required;
	const char * nom;
	timeval entry_time;
	timeval exit_time;	
	long int entry_us;
	long int exit_us;
};

extern "C"
{
	void enter_function(const char * func_name, const char * required);
	void exit_function(const char * func_name);
}

void display_vec(vector<call_info> &v);
ostream& operator << (ostream & out, const call_info item);

#endif
